package com.deplume.ssm.service.inface.admin.home;

import com.deplume.ssm.pojo.admin.DeliveryActivity;
import com.deplume.ssm.pojo.admin.Job;

import java.util.List;

/**
 * Created by blake on 2016/8/22.
 */
public interface ICompanyService {
    public int returnSalaryId(String string) throws Exception;
    public int returnDegreeId(String string) throws Exception;
    public int returnCityId(String string) throws Exception;
    public int returnWorkyearId(String string) throws Exception;
    public int returnJobPropertyId(String string) throws Exception;
    public String returnSalaryById(int id) throws Exception;
    public String returnDegreeById(int id) throws Exception;
    public String returnCityById(int id) throws Exception;
    public String returnWorkyearById(int id) throws Exception;
    public String returnJobPropertyById(int id) throws Exception;
    public int returnJobType1Id(String string) throws Exception;
    public int returnJobType2Id(String string) throws Exception;
    public int returnJobType3Id(String string) throws Exception;
    public int insertJob(Job job) throws Exception;
    public List<Job> findJob1Status(int id) throws Exception;
    public List<Job> findJob0Status(int id) throws Exception;
    public Job findJobById(int id) throws Exception;
    public void changeJob1Status(int id) throws Exception;
    public void changeJob0Status(int id) throws Exception;
    public void deleteJobById(int id) throws Exception;
    public void updateJob(Job job) throws Exception;
    public int findCompanyIdByEmail(String string) throws Exception;

    public List<DeliveryActivity> findDeliveryBy0State(int id) throws Exception;
    public List<DeliveryActivity> findDeliveryBy1State(int id) throws Exception;
    public List<DeliveryActivity> findDeliveryBy2State(int id) throws Exception;
    public void setDeliveryRejected(int id) throws Exception;
    public void setDeliveryAccess(int id) throws Exception;
    public void deleteDeliveryById(int id) throws Exception;
    //public Resume findResumeById(int id) throws Exception;
}
